package entity.Impl;

import dao.SysUserMapper;
import entity.SysUser;
import org.mybatis.spring.SqlSessionTemplate;

import java.util.List;

public class SysUserMapperImpl implements SysUserMapper {
    private SqlSessionTemplate sqlSession;
    public List<SysUser> selectSysUserList(SysUser sysUser){
        return sqlSession.selectList("dao.SysUserMapper.selectSysUserList",sysUser);
    }

    @Override
    public boolean add(SysUser sysUser) {
        return false;
    }

    public SqlSessionTemplate getSqlSession(){
        return sqlSession;
    }
    public void setSqlSession(SqlSessionTemplate sqlSession){
        this.sqlSession = sqlSession;
    }
}
